<?php /* Smarty version 2.6.16, created on 2009-04-16 06:19:17
         compiled from ListingList.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'messages', 'ListingList.html', 2, false),array('function', 'url', 'ListingList.html', 10, false),array('function', 'img', 'ListingList.html', 25, false),array('function', 'language', 'ListingList.html', 36, false),array('modifier', 'date_format', 'ListingList.html', 23, false),array('modifier', 'clean', 'ListingList.html', 29, false),array('modifier', 'escape', 'ListingList.html', 29, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sMainTemplatePath'])."/_modules/Listing/Browse.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div style="font-size: 10pt; font-weight:bold;"><?php echo smarty_function_messages(array('block' => 'View'), $this);?>
</div>
<table style="width:100%;">
<?php $_from = $this->_tpl_vars['aCatList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['aFrst'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['aFrst']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['aCat']):
        $this->_foreach['aFrst']['iteration']++;
 if ($this->_foreach['aFrst']['iteration']%2 == 1): ?>
    <tr>
        <td style="width:50%;font-size:9pt;vertical-align:top;" class="color">
            <table style="width:100%;" cellpadding="5" cellspacing="5">
                <tr>
                    <td class="border2" onclick="window.location.href='<?php echo smarty_function_url(array('link' => "public.listing.viewall",'cat' => $this->_tpl_vars['aCat']['id'],'foxseotitle' => $this->_tpl_vars['aCat']['name']), $this);?>
';">
                    <div class="mainmenu5" style="cursor:pointer;">
                        <div style="padding:5px;font-size:8pt;">
                            <img src="design/pic/spacer.gif" alt="" width="8" height="8" class="sqr" style="vertical-align:middle;" />
                            <span style="vertical-align:middle;"><b><?php echo $this->_tpl_vars['aCat']['name']; ?>
</b></span>
                        </div>
                    </div>
                    <div style="font-size:8pt;" class="color">
                    <?php if (! empty ( $this->_tpl_vars['aCat']['listing'] )): ?>
                    <?php $_from = $this->_tpl_vars['aCat']['listing']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['aList']):
?>
                        <table style="width:100%;border-top:0px;">
                            <tr style="cursor:pointer;">
                                <td style="width:15%;vertical-align:top;text-align:center;font-size:8pt;">
                                	<?php echo ((is_array($_tmp=$this->_tpl_vars['aList']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['sDateFormatShort']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['sDateFormatShort'])); ?>
<br />
									<?php if ($this->_tpl_vars['aList']['bloc']): ?>
										<a href="<?php echo smarty_function_url(array('link' => "public.listing.viewall",'country' => $this->_tpl_vars['aList']['location']), $this);?>
"><?php echo smarty_function_img(array('src' => $this->_tpl_vars['aList']['srcf'],'alt' => $this->_tpl_vars['aList']['location'],'style' => "vertical-align: middle;",'onmouseover' => "showInfo2(this.alt)",'onmouseout' => "return nd();",'height' => '12','width' => '18'), $this);?>
</a>
									<?php endif; ?>
								</td>
                                <td style="width:85%;font-size:9pt;vertical-align:top;" class="color">
                                    <b><a href="<?php echo smarty_function_url(array('link' => "public.listing.view",'id' => $this->_tpl_vars['aList']['id'],'foxseotitle' => $this->_tpl_vars['aList']['title']), $this);?>
"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aList']['title'])) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a></b>
                                    <div style="padding:4px;font-size:8pt;"><a href="<?php echo smarty_function_url(array('link' => "public.user",'name' => $this->_tpl_vars['aList']['user']), $this);?>
"><?php echo $this->_tpl_vars['aList']['user']; ?>
</a></div>
                                </td>
                            </tr>
                        </table>
                    <?php endforeach; endif; unset($_from); ?>
                    <?php else: ?>
                    <div class="message_info"><?php echo smarty_function_language(array('text' => 'there_are_no_listings_yet'), $this);?>
.</div>
                    <?php endif; ?>
                    </div>
                    <div style="font-size:8pt;text-align:right;padding:4px;">
                        <?php if (! empty ( $this->_tpl_vars['aCat']['listing'] )): ?>
                        <a class="link_action" href="<?php echo smarty_function_url(array('link' => "public.listing.viewall",'cat' => $this->_tpl_vars['aCat']['id'],'foxseotitle' => $this->_tpl_vars['aCat']['name']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'view_all'), $this);?>
 ]</a>
                        <?php endif; ?>
                        <a class="link_action" href="<?php echo smarty_function_url(array('link' => "public.listing.create",'cat' => $this->_tpl_vars['aCat']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'create_listing_842'), $this);?>
 ]</a>
                    </div>
                    </td>
                </tr>
            </table>
        </td>
<!--  END COLUMN ITERATION -->
<?php else: ?>
        <td style="width:50%;font-size:9pt;vertical-align:top;" class="color">
            <table style="width:100%;" cellpadding="5" cellspacing="5">
                <tr>
                    <td class="border2" onclick="window.location.href='<?php echo smarty_function_url(array('link' => "public.listing.viewall",'cat' => $this->_tpl_vars['aCat']['id'],'foxseotitle' => $this->_tpl_vars['aCat']['name']), $this);?>
';">
                    <div class="mainmenu5" style="cursor:pointer;">
                        <div style="padding:5px;font-size:8pt;">
				            <img src="design/pic/spacer.gif" alt="" width="8" height="8" class="sqr" style="vertical-align:middle;" />
				            <span style="vertical-align:middle;"><b><?php echo $this->_tpl_vars['aCat']['name']; ?>
</b></span>
                        </div>
                    </div>
                    <div style="font-size:8pt;" class="color">
                    <?php if (! empty ( $this->_tpl_vars['aCat']['listing'] )): ?>
                    <?php $_from = $this->_tpl_vars['aCat']['listing']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['aList']):
?>
                        <table style="width:100%;border-top:0px;">
                            <tr style="cursor:pointer;">
                                <td style="width:15%;vertical-align:top;text-align:center;font-size:8pt;">
                                	<?php echo ((is_array($_tmp=$this->_tpl_vars['aList']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['sDateFormatShort']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['sDateFormatShort'])); ?>
<br />
									<?php if ($this->_tpl_vars['aList']['bloc']): ?>
										<a href="<?php echo smarty_function_url(array('link' => "public.listing.viewall",'country' => $this->_tpl_vars['aList']['location']), $this);?>
"><?php echo smarty_function_img(array('src' => $this->_tpl_vars['aList']['srcf'],'alt' => $this->_tpl_vars['aList']['location'],'style' => "vertical-align: middle;",'onmouseover' => "showInfo2(this.alt)",'onmouseout' => "return nd();",'height' => '12','width' => '18'), $this);?>
</a>
									<?php endif; ?>
								</td>
                                <td style="width:85%;font-size:9pt;vertical-align:top;" class="color">
                                    <b><a href="<?php echo smarty_function_url(array('link' => "public.listing.view",'id' => $this->_tpl_vars['aList']['id'],'foxseotitle' => $this->_tpl_vars['aList']['title']), $this);?>
"><?php echo $this->_tpl_vars['aList']['title']; ?>
</a></b>
                                    <div style="padding:4px;font-size:8pt;"><a href="<?php echo smarty_function_url(array('link' => "public.user",'name' => $this->_tpl_vars['aList']['user']), $this);?>
"><?php echo $this->_tpl_vars['aList']['user']; ?>
</a></div>
                                </td>
                            </tr>
                        </table>
                    <?php endforeach; endif; unset($_from); ?>
                    <?php else: ?>
                    <div class="message_info"><?php echo smarty_function_language(array('text' => 'there_are_no_listings_yet'), $this);?>
.</div>
                    <?php endif; ?>
                    </div>
                    <div style="font-size:8pt;text-align:right;padding:4px;">
                    <?php if (! empty ( $this->_tpl_vars['aCat']['listing'] )): ?>
                        <a class="link_action" href="<?php echo smarty_function_url(array('link' => "public.listing.viewall",'cat' => $this->_tpl_vars['aCat']['id'],'foxseotitle' => $this->_tpl_vars['aCat']['name']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'view_all'), $this);?>
 ]</a>
                    <?php endif; ?>
                        <a class="link_action" href="<?php echo smarty_function_url(array('link' => "public.listing.create",'cat' => $this->_tpl_vars['aCat']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'create_listing_842'), $this);?>
 ]</a>
                    </div>
                    </td>
                </tr>
            </table>
        </td>

    </tr>
<?php endif;  endforeach; endif; unset($_from); ?>
<!-- END ROW ITERATION   -->
</table>
<br /><br />